home *** CD-ROM | disk | FTP | other *** search
- !include("surface.def")
- $SPECPOW(f, 20)
- $TEXTURE1(s,"flag_uk.dds")
- $TEX1OPTIONSFILE(s,"")
-
- Shader()
- {
- SurfaceID(SRF_PLASTIC)
- Shaderquality(3)
- NoLightmaps()
- Pass()
- {
- Lighting()
- VertexShader("Bands.vsh")
- Pixelshader("COST.psh")
-
- tmu()
- {
- texmod("translate", "sin", -2.1, 4.3, 3.2, "sin", -5, 3.03, 10)
- Texture()
- {
- Mapchannel(0)
- Image("Band.dds")
- LODBias(-1)
- }
- }
-
- tmu()
- {
- TexMtxDirPosScale(0.866025, 0.5, 0.0, 0, 0, 0, 0.000015, 0.00002, 0.000015)
- TexMod("translate", "lin", 0, 0.02, 0, "lin", 0, 0.001, 0)
- texture()
- {
- Image(%cloudstexture)
- }
- }
- tmu()
- {
- texture()
- {
- Image(%colortexturesmall)
- addressfunc("clamp", "clamp", "clamp")
- }
- }
-
- tmu()
- {
- TexMtxDirPosScale(1.0, 0.0, 0.0, 0, 0, 0, %waterscale, %waterscale, %waterscale)
- texture()
- {
- Image("WaterDeep_P.dds")
- filtering("linear_no_mip")
- addressfunc("wrap", "clamp", "clamp")
-
- }
- }
-
- !include("__FadeGen.mtt")
- !include("__LightningColors.mtt")
- }
- lightpass()
-
- !include("SpotBand.mtt")
-
- Cull("cw")
- }
-
-
- Shader()
- {// >=gf3
- SurfaceID(SRF_PLASTIC)
- NoLightmaps()
- Shaderquality(1)
- Pass()
- {
- Lighting()
- Pixelshader("OST.psh")
-
- !include("__Tex1.mtt")
- !include("__TerrainColormapSmall.mtt")
-
- !include("__FadeGen.mtt")
- !include("__LightningColors.mtt")
-
- }
-
- lightpass()
-
- !include("Spot1Tex.mtt")
- Cull("cw")
- }
-
- Shader()
- {//gf2
- SurfaceID(SRF_PLASTIC)
- Shaderquality(0)
- NoLightmaps()
- Pass()
- {
- Lighting()
- tmu()
- {
- TexGen("planar")
- TexMod("scale", "const", %terrain_inv_x, 0, 0, "const", %terrain_inv_z, 0, 0)
- texture()
- {
- Image(%colortexturesmall)
- addressfunc("clamp", "clamp", "clamp")
- }
- ColorOp("mul_add", "texture_a", "diffuse", "tfactor_a")
- }
-
-
- tmu()
- {
- Texture()
- {
- Mapchannel(0)
- Image(TEXTURE1)
- !include(TEX1OPTIONSFILE)
- }
- ColorOp("mul", "texture", "current", "current") //texture * lighting
- AlphaOp("arg2", "texture", "diffuse", "current") //fadeblending
- }
-
- Tfactor(%daycolor_r, %daycolor_g, %daycolor_b, %daycolor_a)
-
- !include("__FadeGenDayColorGF2.mtt")
-
- !include("__LightningColorsGF2.mtt")
-
- }
- lightpass()
- !include("spot_spotmap.mtt")
- Cull("cw")
- }
-
-
-
-